#pragma once

namespace WINUI
{
	class CBasicWindowLessMemDC
	{
	public:
		CBasicWindowLessMemDC();
		~CBasicWindowLessMemDC();
	public:
		bool CreateDIB(HDC hdc,int cx,int cy);
		void SetMemSize(HDC hDC,int cx,int cy);
		void ClearRect(int x,int y,int cx,int cy);
	public:
		HDC m_hMem;
		HBITMAP m_hBitmap;
		int m_cx;
		int m_cy;
		BITMAPINFOHEADER m_bmpHeader;
		BYTE * m_pBits;
	};

}
